package com.sl.biz.modular.process.dao.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sl.common.pojo.CommonOrgEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("process_config")
@Entity(name = "process_config")
public class ProcessConfigDO extends CommonOrgEntity {
    /**
     * 分组ID
     */
    @Column
    private String productId;
    /**
     * 分组ID
     */
    @Column
    private String groupId;
    /**
     * 流程版本
     */
    @Column
    private String processName;

    @Column
    private String description;

    @Column
    private String processCode;

    /**
     * 日志级别编码
     */
    @Column
    private String logLevelCode;

    /**
     * 引导线程池编码
     */
    @Column
    private String bootThreadCode;

    /**
     * 预执行线程池编码
     */
    @Column
    private String prepareThreadCode;

    /**
     * 执行线程编码
     */
    @Column
    private String executeThreadCode;

    /**
     * 数据流处理RowSet
     */
    @Column
    private String rowSetTag;
    /**
     * 当数据流选择db的时候的dataSourceId
     */
    @Column
    private String rowSetTagDataSourceId;


    /**
     * 是否为工作流
     */
    @Column
    private String workflowFlag;
}
